﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace YXShop.Web.membercenter
{
    public partial class membercenter : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (HttpContext.Current.Session["MemberID"] == null)
            {
                YXShop.Common.SysParameter sp = new YXShop.Common.SysParameter();
                ChangeHope.WebPage.Script.Alert("提示：您未登陆或登陆时间已过期，转向登录页面");
                ChangeHope.WebPage.Script.ParentPageRedirect(sp.DummyPaht + "membercenter/login.aspx");
            }
        }
    }
}
